package com.attendance.www.hr.timer;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.attendance.www.hr.service.IMainService;

@Service
public class MainTimer {

	@Resource
	private  IMainService  mainService;

	/**
	 * 每天分两次执行，10点、5点
	 */
	public void mainDataInterval() {
        mainService.requestMaindataNew(null);
	}
}
